//
//  MicroMovieTableViewCell.m
//  觅影
//
//  Created by lanou on 16/4/9.
//  Copyright © 2016年  陶虹. All rights reserved.
//

#import "MicroMovieTableViewCell.h"

@implementation MicroMovieTableViewCell




- (void)setModel:(MicroMainModel *)model
{
    _model = model;
    self.titleLabel.text = model.title;
    int mintue = model.duration / 60;
    int seconds = model.duration % 60;
    self.timeLabel.text = [NSString stringWithFormat:@"#%@ / %d'%d''", model.category, mintue, seconds];
    [self.picImageView sd_setImageWithURL:[NSURL URLWithString:model.coverForDetail]];
    
}


@end
